import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./common/style.scss";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.config.productionTip = false;
import api from "./server/api/index.js";
Vue.prototype.$api = api;

Vue.use(ElementUI);

// if (window.innerWidth < 768) {
//   location.href = "https://boxb.allthree.info/h5/#/";
// }

new Vue({
  el: "#app",
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
